/*
 * @Author: 詹真琦(legendryztachi@gmail.com)
 * @Date: 2021-11-16 13:50:58
 * @LastEditors: 詹真琦(legendryztachi@gmail.com)
 * @LastEditTime: 2021-12-16 17:05:35
 * @FilePath: \code\cwp-front\pc-collaboration\src\api\modules\relation-data.api.js
 * @Description: 相关数据。暂时用老接口
 */
export default ({ service, request, tools }) => ({
    /**
     * @description: 获取相关数据展示大类
     */
    relationDataGetColumn(data) {
        return request({
            url: '/relationData/config',
            method: 'post',
            data,
        });
    },
    /**
     * @description: 获取我发起的数据
     */
    relationDataGetMyLaunchData(data) {
        return request({
            url: `/relationData/list`,
            method: 'post',
            data,
        });
    },
});
